package com.imooc.springcloud;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author caryguan
 * @version V1.0
 * @Package com.imooc.springcloud
 * @date 2020/10/21 2:35
 */

@FeignClient("eureka-client")
public interface IService {

    @GetMapping("/sayHi")
    String sayHi();
}